"To replace the battery" means to remove the old battery from a device and put in a new one in its place.